package com.wx.plugin.mp.core;

import io.github.elkan1788.mpsdk4j.core.WechatDefHandler;
import io.github.elkan1788.mpsdk4j.vo.message.BasicMsg;
import io.github.elkan1788.mpsdk4j.vo.message.TextMsg;
import org.springframework.beans.BeanUtils;

/**
 * <p></p>
 *
 * @author  yangz
 * @date    2016/11/11
 * @version latest
 */
public class WechatStandHandler extends WechatDefHandler{

    @Override
    public BasicMsg text(TextMsg tm) {
        TextMsg result = new TextMsg();
        BeanUtils.copyProperties(tm, result);
        return result;
    }

}
